<{include file="header.html"}>
<div id="content">
    <div class="container">
        <div class="main-content">
			<h1 class="title"><{$page->TITLE|utf8_escape_html}></h1>
			<p><{$page->CONTENT}></p>
			<{assign var=user value=$bookingData.USER_INFO}>
			<{assign var=techData value=$bookingData.TDATA}>
			<p style="text-align: left;font-weight: bold;text-decoration: underline;"><{$smarty.const._LB_BOOKING_DETAIL_INFO|utf8_escape_html}> : </p>
			<table width="100%">
				<tr>
					<td width="20%"><{$smarty.const._LB_FIRST_NAME|utf8_escape_html}>&nbsp;:&nbsp;</td>
					<td colspan="3"><{$user.FIRST_NAME|utf8_escape_html}></td>
				</tr>
				<tr>
					<td ><{$smarty.const._LB_LAST_NAME|utf8_escape_html}>&nbsp;:&nbsp;</td>
					<td colspan="3"><{$user.LAST_NAME|utf8_escape_html}></td>
				</tr>
				<tr>
					<td ><{$smarty.const._LB_EMAIL|utf8_escape_html}>&nbsp;:&nbsp;</td>
					<td colspan="3"><{$user.EMAIL|utf8_escape_html}></td>
				</tr>
				<tr>
					<td ><{$smarty.const._LB_TELEPHONE|utf8_escape_html}>&nbsp;:&nbsp;</td>
					<td colspan="3"><{$user.PHONE|utf8_escape_html}></td>
				</tr>
				<{foreach from=$techData key=techID item=data}>
				<{assign var=techTitle value=$data.TITLE}>
				<{assign var=sData value=$data.SDATA}>
				<tr>
					<td colspan="4">
						<table width="100%">
							<tr>
								<td style="width: 50%">
									<{if $data.TITLE != ""}>
									<{$smarty.const._LB_TECHNICIAN|utf8_escape_html}>&nbsp;:&nbsp;<{$data.TITLE|utf8_escape_html}><br />
									<{/if}>
									<{$smarty.const._LB_BOOKING_DATE|utf8_escape_html}>&nbsp;:&nbsp;<{$data.BOOKING_DATE|date_format:"%d/%m/%Y %H:%M"}>
								</td>
								<td style="width: 50%">
									<{foreach from=$sData item=service}>
										<{$service.TITLE|utf8_escape_html}><br />
									<{/foreach}>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr><td colspan="4"><hr style="border-top: 0px;border-bottom: #911F7E 1px solid;" ></td></tr>
				<{/foreach}>
			</table>
		</div>
		<div class="sidebar">
            <{include file="right_business_hours.html"}>
			<{include file="right_service.html"}>
        </div><!--End .sidebar-->
    </div>
</div>

<{include file="footer.html"}>